package com.zq.it.service.admin;

import java.io.ByteArrayInputStream;
import java.io.File;
import java.util.List;

import com.zq.it.pojo.Message;
public interface MessageService {
	
 public List<Message> getAllMessages();
 public List<Message> getMessagesByType(String searchId,String textValue);
 public void addMessage(Message message,String msgContent,String realPath);
 public void removeMessage(Message msg,String realPath);
 public void updateMessageEntity(String content,Message msg,String realPath);
 public Message getMessageByTitle(String title);
 public void removeMessageByGroups(String msgIdGroudp);
 public List<Message> importMsgList(File file);
 public ByteArrayInputStream exportMsgList(String[] colName,List<?> list);
 public List getMsgByHql(String hql);
}
